package bean;

import java.util.ArrayList;

public class ConflictWorker {
    private Worker conflictWorker;
    private ArrayList<TaskTeam> taskTeams;

    @Override
    public String toString() {
        return "ConflictWorker{" +
                 conflictWorker +
                taskTeams +
                '}';
    }

    public Worker getConflictWorker() {
        return conflictWorker;
    }

    public void setConflictWorker(Worker conflictWorker) {
        this.conflictWorker = conflictWorker;
    }

    public ArrayList<TaskTeam> getTaskTeams() {
        return taskTeams;
    }

    public void setTaskTeams(ArrayList<TaskTeam> taskTeams) {
        this.taskTeams = taskTeams;
    }

    public ConflictWorker() {
    }

    public ConflictWorker(Worker conflictWorker, ArrayList<TaskTeam> taskTeams) {
        this.conflictWorker = conflictWorker;
        this.taskTeams = taskTeams;
    }
}
